package com.igeekhome.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @ClassName SystemController
 * @Author admin(Wang)
 * @Date 2020/3/2 20:57
 * @Description TODO
 */
@Controller
@RequestMapping("/page")
public class SystemController {
    /**
     * 角色管理
     * @return
     */
    @RequestMapping("/roleManage")
    public String roleManage() {
        return "/pages/system/roleManage";
    }
    
    /**
     * 权限管理
     * @return
     */
    @RequestMapping("/powerManage")
    public String powerManage() {
        return "/pages/system/powerManage";
    }
    
    /**
     * 角色编辑
     * @return
     */
    @RequestMapping("/system/roleEdit")
    public String roleEdit() {
        return "/pages/system/roleEdit";
    }
    
    /**
     * 角色新增
     * @return
     */
    @RequestMapping("/system/roleAdd")
    public String roleAdd() {
        return "/pages/system/roleAdd";
    }
    
}
